package com.dmall.opening.up;

import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

import static org.easymock.EasyMock.createMock;

public class MockBeans {

    @Bean("spring.rest.template.http.client")
    public RestTemplate restTemplate() {
        return createMock(RestTemplate.class);
    }
}
